<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">客户端类型</label>
            <div class="layui-input-block">
                <input type="text" name="client_type" class="layui-input"  placeholder="请输入客户端类型" value="admin">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">内容类型</label>
            <div class="layui-input-block">
                <input type="text" name="type" class="layui-input" lay-verify="required" placeholder="请输入内容类型" value="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">聊天内容</label>
            <div class="layui-input-block">
                <textarea name="content" rows="20" class="layui-textarea editor" 聊天内容 placeholder="请输入聊天内容"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">来自</label>
            <div class="layui-input-block">
                <input type="text" name="from_id" class="layui-input"  placeholder="请输入来自" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发送至</label>
            <div class="layui-input-block">
                <input type="text" name="to_id" class="layui-input"  placeholder="请输入发送至" value="0">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>